<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\service\stat;

use think\Model;

interface StatModelInterface
{
    /**
     * 获取广告账户流水信息.
     */
    public static function getStatInfo(string $advertiserId = '', int $statDate = 0, array $params = []);

    /**
     * 修改报表信息.
     */
    public static function updateStatData(Model $model, array $params = []): bool;

    /**
     * 插入报表信息.
     */
    public static function insertStatData(string $advertiserId = '', array $params = []): bool;


    /**
     * 对比数据是否相同.
     */
    public static function isSame(Model $model, array $param = []): bool;
}
